package cn.dao;

import java.util.List;

import cn.entity.Ordergoods;
import cn.entity.Orders;

public interface OrdersDao {
	void insert(Orders orders);
	void delete(Orders orders);
	void update(Orders orders);
	List<Orders> getAll();
	List<Orders> queryCompleteByDate(String begin,String end);
	Orders getOrdersById(Integer id);
	List<Orders> getOrdersListByBuyer(Integer id);
	List<Orders> getOrdersByOrderNum(String num);
	List<Ordergoods> getOrdergoodsByOrderId(int id);
}
